package param

import "time"

type OutputStaus string

const (
	Fail    OutputStaus = "fail"
	Success OutputStaus = "success"
	Timeout OutputStaus = "timeout"
)

// ExecOutput output format for remote
type ExecOutput struct {
	// Status for exec result
	Status OutputStaus
	// StdError error output for exec result
	StdError string
	// StdOutput normal output for exec result
	StdOutput string
	// ExecStart start time when exec command
	ExecStart time.Time
	// ExecEnd end time when exec command
	ExecEnd time.Time
	// Err error info about exec command
	Err error
}

// RcpOutput output format for remote
type RcpOutput struct {
	// RcpStart start time when get/put command
	RcpStart time.Time
	// RcpEnd end time when get/put command
	RcpEnd time.Time
	// Err error info about get/put command
	Err error
}
